package com.hsmw.api.service;


import com.hsmw.api.mapper.HsmwDriverClassTitleRecordMapper;
import com.hsmw.common.base.BaseController;
import com.hsmw.common.base.BaseService;
import com.hsmw.domain.HsmwDriverClassTitleRecord;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 司机子标题记录表 前端控制器
 * </p>
 *
 * @author wd
 * @since 2021-09-07
 */
@Service
@Transactional(isolation = Isolation.REPEATABLE_READ, propagation = Propagation.REQUIRED, rollbackFor = Exception.class)
public class HsmwDriverClassTitleRecordService extends BaseService<HsmwDriverClassTitleRecordMapper,HsmwDriverClassTitleRecord> {

    @Autowired
    private HsmwDriverClassTitleRecordMapper hsmwDriverClassTitleRecordMapper;


    public List<HsmwDriverClassTitleRecord> findDriverClassRecordListInfo(String id, String homeId) {


        return hsmwDriverClassTitleRecordMapper.findDriverClassRecordListInfo(id,homeId);
    }
}

